Skip to content

fix(langchain): Stop setting transaction status when child span fails#6301

Merged
alexander-alderman-webb merged 2 commits into
masterfrom
webb/langchain/transaction
May 20, 2026
Merged

fix(langchain): Stop setting transaction status when child span fails#6301
alexander-alderman-webb merged 2 commits into
masterfrom
webb/langchain/transaction

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
Contributor

@alexander-alderman-webb alexander-alderman-webb commented May 20, 2026

Description

Stop modifying the transaction, since the transaction may not be managed by langchain.

Issues

Reminders

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 20, 2026

Codecov Results 📊

282 passed | Total: 282 | Pass Rate: 100% | Execution Time: 41.94s

All tests are passing successfully.

❌ Patch coverage is 12.50%. Project has 14884 uncovered lines.

Files with missing lines (1)
File Patch % Lines
langchain.py 3.18% ⚠️ 579 Missing

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review May 20, 2026 08:19
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner May 20, 2026 08:19
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a5c79b2. Configure here.

Comment thread sentry_sdk/integrations/langchain.py
Comment thread sentry_sdk/integrations/langchain.py
Comment thread sentry_sdk/integrations/langchain.py
Comment thread sentry_sdk/integrations/langchain.py Outdated
@alexander-alderman-webb alexander-alderman-webb merged commit 4f3b56a into master May 20, 2026
157 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/langchain/transaction branch May 20, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants